package com.google.zxing.client;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.android.nearshop.R;
import com.dg11185.nearshop.activity.BaseActivity;
import com.umeng.analytics.MobclickAgent;

public class ScanFailActivity extends BaseActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.barcode_scan_fail);
    }
    public void onRescanClicked(View v){
        startActivity(new Intent(this, CaptureActivity.class));
        this.finish();
    }
    public void onConfirmClicked(View view) {
        this.finish();
    }
    @Override
    protected void onResume() {
        super.onResume();
        MobclickAgent.onPageStart(getClass().getName());
        MobclickAgent.onResume(this);
    }
    @Override
    protected void onPause() {
        super.onPause();
        MobclickAgent.onPageEnd(getClass().getName());
        MobclickAgent.onResume(this);
    }

}
